avcodec/aacsbr: check that the element type matches before applying SBR
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jun 2015 22:05:43 +0000 (00:05 +0200)
committerMike Gabriel <sunweaver@debian.org>
Thu, 20 Dec 2018 21:56:40 +0000 (21:56 +0000)
commitaaf19402edcae54f7fcfb45b401b3bb4046546e1
tree137d647fa2443892f2b3b724c3a9b2157de92f53
parent0a4668caae4e673ac16afae75e8dc87e535a657b
avcodec/aacsbr: check that the element type matches before applying SBR

avcodec/aacsbr: check that the element type matches before applying SBR

Fixes out of array access
Fixes: signal_sigsegv_3670fc0_2818_cov_2307326154_moon.mux
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6820.patch
libavcodec/aacsbr.c
libavcodec/sbr.h